sum_value = 0
for i in range(1, 100 + 1):
  sum_value += i
print(sum_value)

print(sum(range(1, 100 + 1)))